package com.yuxi.juanzi.topic1;

public class TestVehicle {
    public static void main(String[] args) {
        Vehicle car = new Vehicle();
        car.setSpeed(120);
        car.setSize(2);
        car.move();
        car.speedUp();
        car.move();
        car.speedDown();
        car.move();
    }
}
